package com.zhangtai.modules.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhangtai.modules.entity.employee.EmployeeOverworkSubOddEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 *
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-12-15 17:01:39
 */
@Mapper
public interface EmployeeOverworkSubOddDao extends BaseMapper<EmployeeOverworkSubOddEntity> {


    @Select("select * from tb_employee_overwork_sub_odd where teoo_id = #{teooid}")
    List<EmployeeOverworkSubOddEntity> getSubOddByteooid(@Param("teooid")Long teooid);



}